//
//  YPNotificationEnvs.swift
//
//
//  Created by jerry on 2020/5/23.
//  Copyright © 2020 ogawa. All rights reserved.
//

import Foundation

public extension YPEnvsProtocol {
    ///通知key
    static var notificationKey: YPNotificationEnvs {
        return YPNotificationEnvs()
    }
}

/// 通知key
public struct YPNotificationEnvs {
    
}

extension YPNotificationEnvs {
    
    ///网络断开
    public var notReachable:String {
        get {
            return "com.not.reachable.key"
        }
    }
    
    ///网络已连接
    public var reachabled:String {
        get {
            return "com.reachabled.key"
        }
    }
    
    /// 登录成功
    public var loginSuccess:String {
        get {
            return "com.login.success.key"
        }
    }
    
    /// 退出登录
    public var logoutSuccess:String {
        get {
            return "com.logout.success.key"
        }
    }
    
    /// 用户信息改变
    public var useChanged:String {
        get {
            return "com.user.changed.key"
        }
    }
    
}
